#! usr/bin/python3
# coding=utf-8
# @Time: 2025/9/9 
# @Author: GaoSheng

# ! usr/bin/python3
# coding=utf-8
# @Time: 2025/9/6
# @Author: GaoSheng

class ProductListBase:
    def search_button(self, button_name):
        """
        我的商品列表查询按钮
        :return:
        """
        return "//span[text()='" + button_name + "']/parent::button"

    def search_successful_p(self):
        """
        我的商品列表查询成功提示
        :return:
        """
        return "//p[@class='el-message__content']"
